package com.onesports.intelligent.k12.polarlight.domain.vo.operation;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.intelligent.k12.polarlight.domain.entity.organization.Organization;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;

/**
 * @author wangcx
 **/
@Data
@ApiModel("分页运营端运营团队VO")
public class PageOrganizationVO extends Organization {
    @ApiModelProperty(value = "运营团队下的校区有上架商品")
    private Boolean isProduct;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "创建者")
    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Instant createdDate;

    @ApiModelProperty(value = "团队名称")
    private String organizationName;

    @ApiModelProperty(value = "负责人")
    private String principal;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "入驻期限")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date occupancyPeriod;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "商户名称")
    private String merchantName;

    @ApiModelProperty(value = "商户号")
    private String merchantNo;

    @ApiModelProperty(value = "状态 是否启用 true：启用  false：停用")
    private Boolean status;

    @ApiModelProperty(value = "分账比例")
    private BigDecimal subRatio;

    @ApiModelProperty(value = "组织编码")
    private String organizationCode;

}
